<?php
	
class Admin_Model_Db_ProductGroup extends Itvina_Model_Abstract
{
	protected $product_group_id;
	protected $product_group_code;
	//protected $product_group_warehouse_group_code;
	protected $product_group_note;
	protected $product_group_name;
	protected $product_group_order;
	protected $product_group_status;
	protected $product_group_parent_group_code;
	protected $product_group_level;
				
	public function getProduct_group_id()
	{
		return $this->product_group_id;
	}
				
	public function getProduct_group_code()
	{
		return $this->product_group_code;
	}
	/*			
	public function getProduct_group_warehouse_group_code()
	{
		return $this->product_group_warehouse_group_code;
	}*/
				
	public function getProduct_group_note()
	{
		return $this->product_group_note;
	}
				
	public function getProduct_group_name()
	{
		return $this->product_group_name;
	}
				
	public function getProduct_group_order()
	{
		return $this->product_group_order;
	}
				
	public function getProduct_group_status()
	{
		return $this->product_group_status;
	}
				
	public function getProduct_group_parent_group_code()
	{
		return $this->product_group_parent_group_code;
	}
				
	public function getProduct_group_level()
	{
		return $this->product_group_level;
	}
				
	public function setProduct_group_id($product_group_id)
	{
		$this->product_group_id = Itvina_Model_Abstract::settype ( $product_group_id, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
				
	public function setProduct_group_code($product_group_code)
	{
		$this->product_group_code = $product_group_code;
		return $this;
	}
				
	public function setProduct_group_warehouse_group_code($product_group_warehouse_group_code)
	{
		$this->product_group_warehouse_group_code = $product_group_warehouse_group_code;
		return $this;
	}
				
	public function setProduct_group_note($product_group_note)
	{
		$this->product_group_note = $product_group_note;
		return $this;
	}
				
	public function setProduct_group_name($product_group_name)
	{
		$this->product_group_name = $product_group_name;
		return $this;
	}
				
	public function setProduct_group_order($product_group_order)
	{
		$this->product_group_order = Itvina_Model_Abstract::settype ( $product_group_order, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
				
	public function setProduct_group_status($product_group_status)
	{
		$this->product_group_status = Itvina_Model_Abstract::settype ( $product_group_status, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
				
	public function setProduct_group_parent_group_code($product_group_parent_group_code)
	{
		$this->product_group_parent_group_code = $product_group_parent_group_code;
		return $this;
	}
				
	public function setProduct_group_level($product_group_level)
	{
		$this->product_group_level = Itvina_Model_Abstract::settype ( $product_group_level, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
}